# -*- coding: utf-8 -*-
# @Time    : 2021/4/18 13:53
# @Author  : N
# @Email   : 
# @File    : 列表去重从大到小排序.py
# @Software: PyCharm
a=[6,3,5,6,3,7,9,4,10]
for i in a:
    for j in a[a.index(i)+1:]:
        if i==j:
            a.remove(j)
        a.sort()
print(a)





